<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>DiR-前端演示文件-</title>
	<script src="misc/js/jquery-1.9.1.js" type="text/javascript"></script>
	<script src="misc/js/package.js" type="text/javascript"></script>
</head>
<body>
<h1></h1>
<div class="article"></div>
</body>
<script type="text/javascript">
$(document).ready(function(){
	var aid = window.location.href.split('?')[1].split('=')[1];
	Dir.ajax('php/article.php',{id:aid},function(res){
		if( res.status ){
			var data = res.data;
			$('title,h1').append(data.title);
			$('.article').html(data.content);
		}
	});
});
</script>
</html>